<!doctype html>
<html class="no-js">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"   content="width=device-width, initial-scale=1">
    <title>form</title>
    {% include 'index/public/style.html' %}
</head>
<body>

<div class="container ">
{% include 'index/public/head.html' %}
{% include 'index/public/nav.html' %}
<div class="box" >
     <h1>上传文件示例，仅支持jpg,png</h1>
    <form method="post" action="{{get_url('index.index.upload')}}" enctype="multipart/form-data">
       <div class="file is-primary">
  <label class="file-label">
    <input class="file-input" type="file" name="file">
    <span class="file-cta">
      <span class="file-icon">
        <i class="fas fa-upload"></i>
      </span>
      <span class="file-label">
            选择文件
      </span>
    </span>
  </label>
</div>
        <input type="submit" class="button" value="上传文件" />
    </form>
    </div>
    {% include 'index/public/foot.html' %}
</div>
</body>
</html>
